|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Callback interface for clients interested in being notified when jobs change state.
A single job listener instance can be added either to the job manager, for notification of all scheduled jobs, or to any set of individual jobs. A single listener instance should not be added to both the job manager, and to individual jobs (such a listener may receive duplicate notifications).
Clients may implement this interface.
JobChangeAdapter
,
IJobManager.addJobChangeListener(IJobChangeListener)
,
IJobManager.removeJobChangeListener(IJobChangeListener)
,
Job.addJobChangeListener(IJobChangeListener)
,
Job.removeJobChangeListener(IJobChangeListener)
Method Summary | |
void |
aboutToRun(IJobChangeEvent event)
Notification that a job is about to be run. |
void |
awake(IJobChangeEvent event)
Notification that a job was previously sleeping and has now been rescheduled to run. |
void |
done(IJobChangeEvent event)
Notification that a job has completed execution, either due to cancelation, successful completion, or failure. |
void |
running(IJobChangeEvent event)
Notification that a job has started running. |
void |
scheduled(IJobChangeEvent event)
Notification that a job has been added to the queue of scheduled jobs. |
void |
sleeping(IJobChangeEvent event)
Notification that a job was waiting to run and has now been put in the sleeping state. |
Method Detail |
public void aboutToRun(IJobChangeEvent event)
event
- the event detailspublic void awake(IJobChangeEvent event)
event
- the event detailspublic void done(IJobChangeEvent event)
event
- the event detailspublic void running(IJobChangeEvent event)
event
- the event detailspublic void scheduled(IJobChangeEvent event)
event
- the event details, including the job instance and the scheduling
delaypublic void sleeping(IJobChangeEvent event)
event
- the event details
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |